import $axios from '../utils/request';

export function loginApi(data) {
  return $axios({
    'url': '/user/login',
    'method': 'post',
    data
  });
}

export function SignApi(data) {
  return $axios({
    'url': '/user/adminSign',
    'method': 'post',
    data
  });
}

export function logoutApi() {
  return $axios({
    'url': '/user/logout',
    'method': 'post',
  });
}
